import React from 'react';
import router from '@/router/index';
// import Main from '@/components/layout/main'
import { RouterProvider } from 'react-router-dom';
import '@/assets/scss/base.scss';
import zhCN from 'antd/locale/zh_CN';
import 'dayjs/locale/zh-cn';
import { ConfigProvider } from 'antd';
const App: React.FC = () => {
  // const color: string = '';
  return (
    <>
      {/* <ConfigProvider locale={zhCN} theme={{ token: { colorPrimary: color } }}> */}
      <ConfigProvider locale={zhCN}>
        <RouterProvider router={router}></RouterProvider>
      </ConfigProvider>
    </>
  );
};

export default App;
